#/bin/bash

PROJECT_DIR=$PWD

mkdir externals

pushd externals-src

# Make 'libqrencode' and install it into 'externals' subdirectory.
pushd libqrencode
./autogen.sh
./configure --prefix=${PROJECT_DIR}/externals
make
make
make install
popd

popd

